Public Class <OwnerU>_<TableU>Class

    <If Loop>
       <IsNotNull>
    Private m_<FieldU> As <VBType>
       <IsNull>
       <And>
       <IsNotNullable>
    Private m_<FieldU> As <VBType>
       <IsNull>
       <And>
       <IsNullable>
    Private m_<FieldU> As Nullable(Of <VBType>)
    </If Loop>

    Public Sub New()

    End Sub

    <If Loop>
       <IsNotNull>
    Public Property <FieldU>() As <VBType>
        Get
            Return m_<FieldU>
        End Get
        Set(ByVal value As <VBType>)
            m_<FieldU> = value 
        End Set
    End Property

       <IsNull>
       <And>
       <IsNotNullable>
    Public Property <FieldU>() As <VBType>
        Get
            Return m_<FieldU>
        End Get
        Set(ByVal value As <VBType>)
            m_<FieldU> = value 
        End Set
    End Property

       <IsNull>
       <And>
       <IsNullable>
    Public Property <FieldU>() As Nullable(Of <VBType>)
        Get
            Return m_<FieldU>
        End Get
        Set(ByVal value As Nullable(Of <VBType>))
            m_<FieldU> = value 
        End Set
    End Property

    </If Loop>
End Class
